//
//  NewsCell.m
//  BuyOfNoWane
//
//  Created by qianfeng02 on 15/7/4.
//  Copyright (c) 2015年 迷茫的尧尧. All rights reserved.
//

#import "NewsCell.h"
#import "UIImageView+WebCache.h"
@implementation NewsCell

- (void)awakeFromNib {
    self.imageUrl.layer.masksToBounds = YES;
    self.imageUrl.layer.cornerRadius = 8;
}
- (void)showDataWithModel:(AppModel *)model indexPath:(NSIndexPath *)indexPath
{
    [_imageUrl sd_setImageWithURL:[NSURL URLWithString:model.article_pic]];
    _dateLabel.text=model.article_format_date;
    _rzlxLabel.text=model.article_rzlx;
    _titleLabel.text=model.article_title;
    _commentLabel.text=model.article_comment;
    _contentLabel.text=model.article_filter_content;
}
- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    
}

@end
